package com.ruge.core.config;

import org.springframework.data.domain.AuditorAware;

import java.util.Optional;

/**
 * description:
 * create time at 2022/6/6 12:02
 *
 * @author alice.ruge
 * @since 0.0.3
 */

public class JpaAuditorAware implements AuditorAware<Long> {
    @Override
    public Optional<Long> getCurrentAuditor() {
        return Optional.of(3L);
    }
}
